package com.yz.xyt.mapper;

import com.yz.xyt.domain.Post;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PostMapper {
    int deleteByPrimaryKey(Integer pid);

    int insert(Post record);

    int insertSelective(Post record);

    Post selectByPrimaryKey(Integer pid);

    int updateByPrimaryKeySelective(Post record);

    int updateByPrimaryKey(Post record);

    Post findByPostNumber(String postNumber);

    int updateByPostNumberSelective(Post post);

    int deleteByPostNumber(String postNumber);
}